<?php
return [
    'toolbar' => [
        'enableaccess' => [
            'text' => '授权',
        ],
        'disableaccess' => [
            'text' => '取消授权',
        ],
        'reload' => [
            'text' => '刷新',
        ],
    ],
    'fg' => [
        'filterToolbar' => true,
        'ondblClickRow' => 'enableaccess',
        'colModel' => [
            [
                'display' => 'id',
                'name' => 'id',
                'width' => 100,
                'align' => 'center',
                'hidden' => true,
                'key' => true,
                'classes' => 'gc-black',
            ],
            [
                'label' => '业务组',
                'name' => 'model',
                'width' => 100,
                'align' => 'center',
                'sortable' => true,
                'classes' => 'gc-black',
            ],
            [
                'label' => '控制器',
                'name' => 'controller',
                'width' => 100,
                'align' => 'center',
                'sortable' => true,
                'classes' => 'gc-black',
            ],
            [
                'label' => '动作',
                'name' => 'action',
                'width' => 100,
                'align' => 'center',
                'sortable' => true,
                'classes' => 'gc-black',
            ],
            [
                'label' => '是否有权限',
                'name' => 'permissions',
                'width' => 100,
                'align' => 'center',
                'sortable' => true,
                'classes' => 'gc-black',
                'formatter' => "formatter.isObject",
                'stype' => 'select',
                'searchoptions' => '{value:{1:\'是\',0:\'否\'},showDefaultItem:true}',
            ],

        ],
        'rowNum' => 20,
        'rowList' => [10, 20, 40, 80],
    ],
];
